package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商铺消费对象 store_consumer
 * 
 * @author ruoyi
 * @date 2020-10-14
 */
public class StoreConsumer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 消费者身份证 */
    @Excel(name = "消费者身份证")
    private String consumerIdcard;

    /** 消费者名字 */
    @Excel(name = "消费者名字")
    private String consumerName;

    /** 消费者性别(0男生，1女生) */
    @Excel(name = "消费者性别(0男生，1女生)")
    private Integer consumerSex;

    /** 消费者年龄 */
    @Excel(name = "消费者年龄")
    private Integer consumerAge;

    /** 消费钱数 */
    @Excel(name = "消费钱数")
    private BigDecimal consumerMoney;

    /** 消费时间 */
    @Excel(name = "消费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date consumerTime;

    /** 商铺id */
    @Excel(name = "商铺id")
    private Long storeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setConsumerIdcard(String consumerIdcard) 
    {
        this.consumerIdcard = consumerIdcard;
    }

    public String getConsumerIdcard() 
    {
        return consumerIdcard;
    }
    public void setConsumerName(String consumerName) 
    {
        this.consumerName = consumerName;
    }

    public String getConsumerName() 
    {
        return consumerName;
    }
    public void setConsumerSex(Integer consumerSex) 
    {
        this.consumerSex = consumerSex;
    }

    public Integer getConsumerSex() 
    {
        return consumerSex;
    }
    public void setConsumerAge(Integer consumerAge) 
    {
        this.consumerAge = consumerAge;
    }

    public Integer getConsumerAge() 
    {
        return consumerAge;
    }
    public void setConsumerMoney(BigDecimal consumerMoney) 
    {
        this.consumerMoney = consumerMoney;
    }

    public BigDecimal getConsumerMoney() 
    {
        return consumerMoney;
    }
    public void setConsumerTime(Date consumerTime) 
    {
        this.consumerTime = consumerTime;
    }

    public Date getConsumerTime() 
    {
        return consumerTime;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("consumerIdcard", getConsumerIdcard())
            .append("consumerName", getConsumerName())
            .append("consumerSex", getConsumerSex())
            .append("consumerAge", getConsumerAge())
            .append("consumerMoney", getConsumerMoney())
            .append("consumerTime", getConsumerTime())
            .append("storeId", getStoreId())
            .toString();
    }
}
